package com.link.base.microinterface.sms.microservice;

import com.alibaba.fastjson.JSONObject;
import com.link.microservice.config.LinkFeignClientConfig;
import com.link.base.microinterface.core.BaseClients;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.Map;

/**
 * 消息记录
 *
 * @author Jerry
 */
@FeignClient(url = "${zuul.link-marketing.url}", name = "link-marketing", path = "/link/messageRecord", configuration = LinkFeignClientConfig.class)
public interface BaseMessageRecordClient extends BaseClients {

    @PostMapping("/sendManualMsg")
    public Map<String, Object> sendManualMsg(JSONObject jsonObject);
}
